<?php

$data = array();

$total = ((int)$_GET['length'] + (int)$_GET['offset']);
for($i=$_GET['offset'];$i < $total;$i++ ){
	array_push($data, array('title' => 'record of ' . $i ));
}

echo json_encode($data);